(() => {

    let ele = {};

    // ele.invite_immortal_num = $('#invite_immortal_num')//直推仙王人数
    ele.rechargeMoney = $('#rechargeMoney')//VIP 展示充值金额
    let timeload = document.querySelector(".timeload");
    getUserInfo((res) => {
        let exper = '' //当前经验值


        if (res.recharge_total >= 98) {
            timeload.style.width = 200 + "px";//进度条宽度
        } else {
            exper = parseInt(res.recharge_total)
            let full = 98 //当前所需的经验值
            let l = 200 / full //每一经验所对应的px宽度
            timeload.style.width = exper * l + "px";//进度条宽度
        }
        ele.rechargeMoney.innerHTML = res.recharge_total

        // ele.invite_immortal_num.innerHTML = res.invite_immortal_num

    });

})();